#include "stdio.h"

struct stack_t
{
    double             *data;
    int                 max_size,
                        cure_size;
};

struct stack_t* stack_constructor (const int target_size_to_create);
short int stack_destructor (struct stack_t *target_stack);
short int stack_is_ok (const struct stack_t *target_stack);
short int stack_dump (const struct stack_t *target_stack, FILE *out_stream);
short int memory_dump (const struct stack_t *target_memory, FILE *out_stream);
short int stack_is_empty (const struct stack_t *target_stack);
short int stack_is_full (const struct stack_t *target_stack);
short int stack_push (struct stack_t *target_stack, const double value);
short int stack_pop (struct stack_t *target_stack, double *target_place);
